package com.huang.wangpan.dao;

import com.huang.wangpan.vo.UserFile;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface UserFileDao {
    void insert(UserFile uf);

    List<UserFile> searchByName(@Param("name") String name);

    List<UserFile> SearcAll(@Param("uid") String uid);

    void deleteFile(@Param("survival") int survival, @Param("virtualpath") String virtualpath, @Param("name") String name);

    void updateFilename(@Param("newvirtualpath") String newvirtualpath, @Param("virtualpath") String virtualpath, @Param("name") String name);
}
